package com.xxh.securitydemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxh.securitydemo.dao.UmsAdminDao;
import com.xxh.securitydemo.model.UmsAdmin;
import com.xxh.securitydemo.model.UmsMenu;
import org.springframework.security.config.annotation.authentication.configurers.provisioning.UserDetailsManagerConfigurer;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

import java.util.List;


public interface AdminService  extends IService<UmsAdmin> {

    UmsAdmin getAdminByUsername(String username);

    public List<UmsMenu> getMenusByUid(long id);


}
